package me.zhengjie.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("wcs_outbound_mission")
public class WcsOutboundMission {

    @TableId(type = IdType.AUTO)
    private Integer id;

    //出库任务唯一编码
    @TableField("outbound_code")
    private String outboundCode;

    //任务状态(-1,异常,0任务创建，1任务发送。2，取货，3放货，4完成 5取消)
    @TableField("mission_status")
    private Integer missionStatus;

    //容器编码
    @TableField("container_code")
    private String containerCode;

    //任务起点
    @TableField("source")
    private String source;

    //任务终点
    @TableField("destination")
    private String destination;

    //创建时间
    @TableField("create_time")
    private LocalDateTime createTime;

    //更新时间
    @TableField("update_time")
    private LocalDateTime updateTime;

    //agvid
    @TableField("agv_id")
    private String agvId;

    //容器类型1楼托盘，2楼料箱 3楼料箱 4.2楼空料箱 5.3楼空托盘出库
    @TableField("container_type")
    private Integer containerType;

    //优先级
    @TableField("priority")
    private Integer priority;

    //任务类型
    @TableField("task_type")
    private String taskType;

    //是否回库嵌套（默认0,1是嵌套）
    @TableField("is_nest")
    private Integer isNest;

    @TableField("wms_task_id")
    private String wmsTaskId;

    @TableField("floor")
    private String floor;

    @TableField("is_wms")
    private Integer isWms;

    @TableField("fluent_frame_storage")
    private String fluentFrameStorage;
}
